﻿@model HelloMVC.Model.BoardData
<div id="stalker" class="ag-stalker stalker">
    <div class="item-header">
        <div class="ag-controls">
            <ul class="operations">
                <li>
                    <a id="newOptions" onclick="OpenDialog()" class="lnk icon-add"><span>New Card</span></a>
                </li>
                <li id="ag-views-menu" class="aui-dd-parent dd-allocated">
                    <a class="lnk icon-views" href="#"><span>Views</span></a>
                </li>
                <li id="ag-ag-tools-menu" class="aui-dd-parent dd-allocated" style="margin-left: 5px;">
                    <a class="lnk icon-tools" href="#"><span>Tools</span></a>
                </li>
            </ul>
        </div>
        <div class="item-name avatar"></div>
        <div class="item-summary ag-item-summary">
            <ul id="ag-projectcrumbs" class="ag-project-context">
                <li id="ag-projects" class="aui-dd-parent ag-projects dd-allocated">
                    <a id="projects-options" class="aui-dd-link standard ag-project-name" href="@Url.Action("AllProjects", "Project", new { id = Model.ProjectId })" rel="left">@Model.ProjectName<span>&nbsp;</span></a>
                    <script type="text/javascript">dropdownable.push({ trigger: '#projects-options', container: '#ag-projects', left: true})</script>
                </li>
                <li id="ag-menu-contexts" class="aui-dd-parent ag-contexts dd-allocated">
                    <a id="project-menu-options" class="aui-dd-link standard ag-context-name" href="@Url.Action("ToolOptions", "Issue")" rel="left">Default<span>&nbsp;</span></a>
                    <script type="text/javascript">dropdownable.push({ trigger: '#project-menu-options', container: '#ag-menu-contexts', left: true})</script>
                </li>
                <li class="ag-status">
                    <div class="ag-icon ag-icon-refresh"></div>
                </li>
            </ul>
        </div>
        <ul id="ag-breadcrumbs" class="breadcrumbs ag-breadcrumbs">
            <li id="ag-bc-tabs" class="aui-dd-parent dd-allocated">
                <a id="ag-bc-tabs-lnk" class="aui-dd-link standard" href="@Url.Action("BoardList", "Agile", new { id = Model.ProjectId })?boardId=@(Model.BoardId)" rel="left"><span>@Model.BoardName</span></a>
                <script type="text/javascript">dropdownable.push({ trigger: '#ag-bc-tabs-lnk', container: '#ag-breadcrumbs', left: true })</script>
            </li>
            <li id="ag-bc-boards" class="aui-dd-parent dd-allocated">
                <a id="ag-bc-boards-lnk" class="aui-dd-link standard" href="@Url.Action("ToolOptions", "Issue")" rel="left"><span>Unscheduled</span></a>
                <script type="text/javascript">dropdownable.push({ trigger: '#ag-bc-boards-lnk', container: '#ag-bc-boards', left: true })</script>
            </li>
            <li id="ag-vc-boards" class="aui-dd-parent dd-allocated">
                <a id="ag-vc-boards-lnk"class="aui-dd-link standard" href="@Url.Action("ToolOptions", "Issue")" rel="left"><span>All Assignees</span></a>
                <script type="text/javascript">dropdownable.push({ trigger: '#ag-vc-boards-lnk', container: '#ag-vc-boards', left: true })</script>
            </li>
        </ul>
    </div>
</div>